define.template({
    type: 'Leaf',
    format: '[$code]$text',
    src: 'hello/template/children?parent=$code',
    '@folder': '$this.subCount>0',
    '@data': '$this',
    // data: {'@code': '$this.code'},
    // '@format': '"["+$this.code+"]"+$this.name',
    tip: true,
    '@text': '$this.name',
    template: 'index/template/leaf',
    nodes: [
        {
            '@w-for': '$this in $this.data',
            '@w-include': 'index/template/leaf'
        }
    ]
});